package down;

public class Cylinder extends Circle{
    public double length;

    public Cylinder(double radius, double length) {
        super(radius);
        this.length = length;
    }

    public double getLength() {

        return length;
    }

    public void setLength(double length) {
        this.length = length;
    }
    public double findVolume(){
        return findArea(radius) * length;
    }

}
